package unit4;

import java.util.Date;

public class EmployeeTest {
	public static void main(String[] args) {
//		fill the staff array with three Employee object 
		Employee[] staff=new Employee[3];
		staff[0]=new Employee("mike",7500,new Date());
		staff[1]=new Employee("tony",10000,new Date());
		staff[2]=new Employee("kim",9500,new Date());
		
//		raise everyone's salary by 5%
		for(Employee e:staff){
			e.raiseSalary(5);
		}
		
//		print out information about all Employee objects
		for(Employee e:staff)
			System.out.println(e.toString());
	}
}
